/**
 * Copyright (c) 2016-2019  All rights reserved.
 *
 *
 *
 * 版权所有，侵权必究！
 */

package io.yuncheng.modules.job.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.yuncheng.modules.sys.entity.SubApplicationEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 定时任务
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
public class ScheduleParamEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long appId;
	/**
	 * 前推
	 */
	private Integer dayCount;
	private List<String> appUniqueIds;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date startDate;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date endDate;
	List<SubApplicationEntity> list;

}
